/**
 * 
 * gislin
 * 2016年4月16日
 */
package io.chance.receiverlei.db.model;

import lrq.data.Annotation.Table;
import lrq.data.Annotation.TableMapping;
import lrq.data.Model;

import java.sql.Timestamp;

@Table(tableName="OPERATION_ALARM_INFO")
public class OperationAlarmModel extends Model{

	@TableMapping(FieldName="ID",Comment="ID",PrimaryKey=true)
	protected String GUID;

	@TableMapping(FieldName="TYPE",Comment="报警类型字典项")
	protected String TYPE;

	@TableMapping(FieldName="PARAM",Comment="报警参数：COD，NH4N，TP等")
	protected String PARAM;

	@TableMapping(FieldName="START_TIME",Comment="报警时间")
	protected Timestamp START_TIME;

	@TableMapping(FieldName="ALARM_VALUE",Comment="报警值")
	protected String ALARM_VALUE;

	@TableMapping(FieldName="IS_POPUP",Comment="是否已经弹框提醒")
	protected String IS_POPUP;

	@TableMapping(FieldName="MOBILE_RECEIVED",Comment="是否推送到移动端")
	protected String MOBILE_RECEIVED;

	@TableMapping(FieldName="POPUP_BY",Comment="弹框处理人")
	protected String POPUP_BY;

	@TableMapping(FieldName="RECEIVED_BY",Comment="移动端处理人")
	protected String RECEIVED_BY;

	@TableMapping(FieldName="WWTP_ID",Comment="污水处理厂ID")
	protected String WWTP_ID;

	@TableMapping(FieldName="STATION_CODE",Comment="站点ID")
	protected String STATION_CODE;

	@TableMapping(FieldName="ALARM_THRESHOLD",Comment="报警阈值")
	protected String ALARM_THRESHOLD;

	@TableMapping(FieldName="CREATETIME")
	protected Timestamp CREATETIME;

	@TableMapping(FieldName="IS_FIRST_RECORD",Comment="是否是最新一条的记录，1是，用于sql筛选出最新一条的记录")
	protected String IS_FIRST_RECORD;

	@TableMapping(FieldName="STATUS",Comment="0未处理，1已处理")
	protected String STATUS;
	
	@TableMapping(FieldName="ALARM_TEXT",Comment="报警文本")
	protected String ALARM_TEXT;
	
	public OperationAlarmModel() {
	}

	public String getGUID() {
		return GUID;
	}

	public void setGUID(String GUID) {
		this.GUID = GUID;
	}

	public String getTYPE() {
		return TYPE;
	}

	public void setTYPE(String TYPE) {
		this.TYPE = TYPE;
	}

	public String getPARAM() {
		return PARAM;
	}

	public void setPARAM(String PARAM) {
		this.PARAM = PARAM;
	}

	public Timestamp getSTART_TIME() {
		return START_TIME;
	}

	public void setSTART_TIME(Timestamp START_TIME) {
		this.START_TIME = START_TIME;
	}

	public String getALARM_VALUE() {
		return ALARM_VALUE;
	}

	public void setALARM_VALUE(String ALARM_VALUE) {
		this.ALARM_VALUE = ALARM_VALUE;
	}

	public String getIS_POPUP() {
		return IS_POPUP;
	}

	public void setIS_POPUP(String IS_POPUP) {
		this.IS_POPUP = IS_POPUP;
	}

	public String getMOBILE_RECEIVED() {
		return MOBILE_RECEIVED;
	}

	public void setMOBILE_RECEIVED(String MOBILE_RECEIVED) {
		this.MOBILE_RECEIVED = MOBILE_RECEIVED;
	}

	public String getPOPUP_BY() {
		return POPUP_BY;
	}

	public void setPOPUP_BY(String POPUP_BY) {
		this.POPUP_BY = POPUP_BY;
	}

	public String getRECEIVED_BY() {
		return RECEIVED_BY;
	}

	public void setRECEIVED_BY(String RECEIVED_BY) {
		this.RECEIVED_BY = RECEIVED_BY;
	}

	public String getWWTP_ID() {
		return WWTP_ID;
	}

	public void setWWTP_ID(String WWTP_ID) {
		this.WWTP_ID = WWTP_ID;
	}

	public String getSTATION_CODE() {
		return STATION_CODE;
	}

	public void setSTATION_CODE(String STATION_CODE) {
		this.STATION_CODE = STATION_CODE;
	}

	public String getALARM_THRESHOLD() {
		return ALARM_THRESHOLD;
	}

	public void setALARM_THRESHOLD(String ALARM_THRESHOLD) {
		this.ALARM_THRESHOLD = ALARM_THRESHOLD;
	}

	public Timestamp getCREATETIME() {
		return CREATETIME;
	}

	public void setCREATETIME(Timestamp CREATETIME) {
		this.CREATETIME = CREATETIME;
	}

	public String getIS_FIRST_RECORD() {
		return IS_FIRST_RECORD;
	}

	public void setIS_FIRST_RECORD(String IS_FIRST_RECORD) {
		this.IS_FIRST_RECORD = IS_FIRST_RECORD;
	}

	public String getSTATUS() {
		return STATUS;
	}

	public void setSTATUS(String STATUS) {
		this.STATUS = STATUS;
	}

	public String getALARM_TEXT() {
		return ALARM_TEXT;
	}

	public void setALARM_TEXT(String aLARM_TEXT) {
		ALARM_TEXT = aLARM_TEXT;
	}
}
